package com.jiantong.work.service;

import com.jiantong.user.ext.LoginUser;
import com.jiantong.work.model.ButcherAdmissionInspection;
import io.terminus.common.model.Response;

import java.util.Map;

/**
 * Created by niufei on 2017/3/17.
 *
 */
public interface ButcherAdmissionInspectionWriteService {

    /**
     * 新建 入场监督检查的单据
     * @param butcherAdmissionInspection 单据对象
     * @param toStatus 到状态
     * @return Map<String , Object>
     */
    Response<Map<String , Object>> create(ButcherAdmissionInspection butcherAdmissionInspection , Integer toStatus, LoginUser loginUser);

    /**
     * 更新 入场监督检查的单据
     * @param butcherAdmissionInspection 单据对象
     * @param toStatus 到状态
     * @return Map<String , Object>
     */
    Response<Map<String , Object>> update(ButcherAdmissionInspection butcherAdmissionInspection ,Integer toStatus, LoginUser loginUser);
}
